layui.define(["jquery"],function (exports) {
	"use strict";
	var $ = layui.jquery,
		a = ".layui-canvas-title",
		b = '.layui-canvas-nav',
		c = '.layui-nav-list',
		d = '.layui-panel',
		e = '.layui-panel-title',
		f = '.layui-cutline',
		g = '.layui-cards-title',
		h = '.layui-panel2',
		j = '.layui-nav-list2',
		k = '.layui-canvas-title2',
		l = '.layui-panel1',
		m = '.layui-panel3',
		n = '.layui-svg-panel',
		p = '.layui-nav-list1',
		q = '.layui-panel4',
		y = (layui.hint(), layui.device()),
		z = function(){
			var t = this;
			t.config = {
				/*title:{
					lineWidth:6,
					cornerLength:5,
					front:false,
					setwidth:100,
					lineColor:['#007FFF'],
					fillColor:["#007FFF","rgba(55,88,122,0.1)"],
					textColor:['rgba(255,255,255,1)','rgba(115,255,255,1)'],
					shadowColor:"rgba(124,185,227,0.6)"
				},*/
				a:{
					lineWidth:6,
					lineColor:['#4388e1','rgba(0,127,255,0.1)'],
					fillColor:["#4388e1","rgba(55,88,122,0.1)"],
					shadowColor:["rgba(41,92,159,0.5)","rgba(41,92,159,0.1)"]
				},
				b:{
					fillColor:["#008efc","#006fc0",'#41abeb']
				},
				c:{
					lineWidth:4,
					cornerLength:6,
					lineColor:['#034281','#00f7f9'],
					fillColor:['rgba(3,66,129,0.8)','rgba(3,66,129,0.1)'],
				},
				d:{
					lineWidth:4,
					cornerLength:6,
					lineColor:['#065fab','#00b9f7'],
					fillColor:['rgba(0,151,255,0.15)','rgba(0,151,255,0)','rgba(9,26,48,0.95)'],
				},
				e:{
					lineWidth:2,
					cornerLength:6,
					lineColor:['#074eb6'],
					fillColor:['#0d5fb9','#26c9ff','#0a3b6f'],
				},
				f:{
					lineWidth:2,
					cornerLength:16,
					lineColor:['#156cb3'],
					fillColor:['#156cb3','#26c9ff','#0a3b6f'],
				},
				g:{
					lineWidth:1,
					cornerLength:6,
					lineColor:['#077DE3'],
					fillColor:['#0d5fb9','#24bff3','#0A79D9'],
				},
				h:{
					lineWidth:2,
					lineColor:['#065fab','#00b9f7'],
					fillColor:['rgba(9,26,55,0.4)'],
				},
				j:{
					lineWidth:1,
					color:['#83b4ff','#fca000'],
					bgcolor:'rgba(9,26,55,0.4)',
					lineColor:['rgba(0,142,252,0.4)','rgba(228,208,40,0.4)'],
					fillColor:['rgba(0,134,232,0.4)','rgba(0,134,232,0)'],
					avtiveColor:['rgba(255,162,0,0.5)','rgba(255,162,0,0)'],
				},
				k:{
					fillColor:["rgba(26,64,126,0.7)","rgba(26,64,126,0.05)"],
				},
				l:{
					lineWidth:2,
					lineColor:['#065fab','#00b9f7'],
					fillColor:['rgba(0,151,255,0.15)','rgba(0,151,255,0)'],
				},
				m:{
					lineWidth:1,
					lineColor:['#01b3ec','#136b96'],
					fillColor:['rgba(0,255,205,0.2)','rgba(66,213,224,1)','rgba(66,213,224,0)'],
				},
				n:{
					lineWidth:1,
					lineColor:['#01b3ec','#136b96'],
					fillColor:['rgba(0,255,205,0.2)','rgba(0,255,205,0.4)','rgba(66,213,224,1)','rgba(66,213,224,0)'],
					img:'',
					imgsize:[14,80]
				},
				p:{
					lineWidth:1,
					lineColor:['#0088cc'],
					fillColor:['rgba(0,136,204,0.65)','rgba(0,134,232,0)'],
				},
				q:{
					lineWidth:4,
					cornerLength:6,
					lineColor:['#065fab','#00b9f7'],
					fillColor:['rgba(0,151,255,0.15)','rgba(0,151,255,0)','rgba(9,26,48,0.95)'],
				},
			};
		};
	z.prototype.set = function (t) {
		var i = this;
		return $.extend(!0, i.config, t), i;
	},
	z.prototype.init = function(option){
		var t = this;
		var o = $.extend(!0, t.config,option);
		auto(o);
	},
	z.prototype.render = function(dom,option){
		switch(dom){
			case a :
				var o = $.extend(!0,this.config.a,option);
				$("body").find(a).each(function(i,e){
					aa(e,i,o);
				});
			break;
			case b :
				var o = $.extend(!0,this.config.b,option);
				$("body").find(b).each(function(i,e){
					bb(e,i,o);
				});
			break;
			case c :
				var o = $.extend(!0,this.config.c,option);
				$("body").find(c).each(function(i,e){
					cc(e,i,o);
				});
			break;
			case d :
				var o = $.extend(!0,this.config.d,option);
				$("body").find(d).each(function(i,e){
					dd(e,i,o);
				});
			break;
			case e :
				var o = $.extend(!0,this.config.e,option);
				$("body").find(e).each(function(i,e){
					ee(e,i,o);
				});
			break;
			case f :
				var o = $.extend(!0,this.config.f,option);
				$("body").find(f).each(function(i,e){
					ff(e,i,o);
				});
			break;
			case g :
				var o = $.extend(!0,this.config.g,option);
				$("body").find(g).each(function(i,e){
					gg(e,i,o);
				});
			break;
			case h :
				var o = $.extend(!0,this.config.h,option);
				$("body").find(h).each(function(i,e){
					hh(e,i,o);
				});
			break;
			case j :
				var o = $.extend(!0,this.config.j,option);
				$("body").find(j).each(function(i,e){
					jj(e,i,o);
				});
			break;
			case k :
				var o = $.extend(!0,this.config.k,option);
				$("body").find(k).each(function(i,e){
					kk(e,i,o);
				});
			break;
			case l :
				var o = $.extend(!0,this.config.l,option);
				$("body").find(l).each(function(i,e){
					ll(e,i,o);
				});
			break;
			case m :
				var o = $.extend(!0,this.config.m,option);
				$("body").find(m).each(function(i,e){
					mm(e,i,o);
				});
			break;
			case q :
				var o = $.extend(!0,this.config.q,option);
				$("body").find(q).each(function(i,e){
					qq(e,i,o);
				});
			break;
			default:
			var o = $.extend(!0,this.config,option);
			auto(o);
		}
	};
	var aa = function(e,i,o){
			var w = parseInt($(e).innerWidth()),
				h = parseInt($(e).innerHeight()),
				id = 'layui_canvas_title_'+ i,
				newDom = '<canvas id="'+ id +'" width="'+ w +'" height="'+ h +'" style="display:none"></canvas>';
			if(document.getElementById(id) == null){
				$('body').append(newDom);
			}else{
				$(document.getElementById(id)).remove();
				$('body').append(newDom);
			}
			var canvas = document.getElementById(id), ctx ;
			ctx= canvas.getContext('2d');
			ctx.lineWidth = o.lineWidth;
			ctx.lineJoin="round";
			var grd=ctx.createLinearGradient(0,0,w,0);
			grd.addColorStop(0,o.lineColor[0]);
			grd.addColorStop(0.5,o.lineColor[1]);
			grd.addColorStop(1,o.lineColor[0]);
			ctx.strokeStyle = grd;
			ctx.moveTo(0,0);
			ctx.lineTo(w,0);
			ctx.stroke();
			ctx.beginPath();
			ctx.strokeStyle = o.lineColor[0];
			ctx.lineWidth = o.lineWidth-3;
			ctx.moveTo(w,0);
			ctx.lineTo(w-22,28);
			ctx.lineTo(w-32,28);
			ctx.lineTo(w-50,53);
			ctx.lineTo(w-37,53);
			ctx.lineTo(w-53,h-9);
			ctx.lineTo(w-w*0.3,h-9);
			ctx.lineTo(w-w*0.3-8,h);
			ctx.stroke();

			ctx.beginPath();
			ctx.lineWidth = o.lineWidth;
			grd=ctx.createLinearGradient(w*0.3,h,w*0.7,h);
			grd.addColorStop(0,o.lineColor[0]);
			grd.addColorStop(0.4,o.lineColor[1]);
			grd.addColorStop(0.6,o.lineColor[1]);
			grd.addColorStop(1,o.lineColor[0]);
			ctx.strokeStyle = grd;
			ctx.moveTo(w-w*0.3-8,h);
			ctx.lineTo(w*0.3,h);
			ctx.stroke();
			ctx.beginPath();
			ctx.strokeStyle = o.lineColor[0];
			ctx.lineWidth = o.lineWidth-3;
			ctx.moveTo(w*0.3,h);
			ctx.lineTo(w*0.3-8,h-9);
			ctx.lineTo(53,h-9);
			ctx.lineTo(37,53);
			ctx.lineTo(50,53);
			ctx.lineTo(32,28);
			ctx.lineTo(22,28);
			ctx.lineTo(0,0);
			ctx.stroke();

			ctx.beginPath();
			ctx.fillStyle = o.fillColor[0];
			ctx.moveTo(21,32);
			ctx.lineTo(33,49);
			ctx.lineTo(43,49);
			ctx.lineTo(30,32);
			ctx.closePath();
			ctx.moveTo(w-20,32);
			ctx.lineTo(w-33,49);
			ctx.lineTo(w-43,49);
			ctx.lineTo(w-30,32);
			ctx.closePath();
			ctx.fill();
			ctx.beginPath();
			
			grd=ctx.createLinearGradient(0,0,w,h);
			grd.addColorStop(0,o.shadowColor[0]);
			grd.addColorStop(0.5,o.shadowColor[1]);
			grd.addColorStop(1,o.shadowColor[0]);
			ctx.fillStyle = grd;
			ctx.moveTo(3,3);
			ctx.lineTo(w-3,3);
			ctx.lineTo(w-20-1,27);
			ctx.lineTo(w-30-1,27);
			ctx.lineTo(w-48-2,54);
			ctx.lineTo(w-35-3,55);
			ctx.lineTo(w-53-1,h-11);
			ctx.lineTo(w-w*0.3,h-11);
			ctx.lineTo(w-w*0.3-8,h-2);
			ctx.lineTo(w*0.3,h-2);
			ctx.lineTo(w*0.3-8,h-11);
			ctx.lineTo(53,h-11);
			ctx.lineTo(38,55);
			ctx.lineTo(50,54);
			ctx.lineTo(31,27);
			ctx.lineTo(21,27);
			ctx.lineTo(4,3);
			ctx.fill();
			$(e).css("background-image","");
			$(e).css({"background-image":"url('"+ctx.canvas.toDataURL() +"')","background-repeat":"no-repeat"});
			return '"'+ctx.canvas.toDataURL() +'"';
		},
		bb = function(e,i,o){
			var w = parseInt($(e).innerWidth()),
				h = parseInt($(e).innerHeight()),
				id = 'layui-canvas-nav_'+ i,
				newDom = '<canvas id="'+ id +'" width="'+ w +'" height="'+ h +'" style="display:none"></canvas>';
			if(document.getElementById(id) == null){
				$('body').append(newDom);
			}else{
				$(document.getElementById(id)).remove();
				$('body').append(newDom);
			}
			var canvas = document.getElementById(id), ctx ;
			ctx= canvas.getContext('2d');
			ctx.lineJoin="round";
			if($(e).attr("layui-front") === 'false'){
				ctx.beginPath();
				ctx.fillStyle = o.fillColor[0];
				ctx.moveTo(w,h-16);
				ctx.lineTo(w-10,h-4);
				ctx.lineTo(0,h-4);
				ctx.lineTo(10,h-16);
				ctx.lineTo(23,h-16);
				ctx.lineTo(16,h-8);
				ctx.lineTo(w-38,h-8);
				ctx.lineTo(w-30,h-16);
				ctx.closePath();
				ctx.fill();

				ctx.beginPath();
				ctx.moveTo(66,4);
				ctx.lineTo(56,4);
				ctx.lineTo(47,16);
				ctx.lineTo(57,16);
				ctx.closePath();
				ctx.fill();

				ctx.translate(-11,15);
				ctx.beginPath();
				ctx.moveTo(66,4);
				ctx.lineTo(56,4);
				ctx.lineTo(47,16);
				ctx.lineTo(57,16);
				ctx.closePath();
				ctx.fill();
				ctx.translate(-11,15);
				ctx.beginPath();
				ctx.moveTo(66,4);
				ctx.lineTo(56,4);
				ctx.lineTo(47,16);
				ctx.lineTo(57,16);
				ctx.closePath();
				ctx.fill();
				ctx.translate(-11,15);
				ctx.beginPath();
				ctx.moveTo(66,4);
				ctx.lineTo(56,4);
				ctx.lineTo(47,16);
				ctx.lineTo(57,16);
				ctx.closePath();
				ctx.fill();

				ctx.translate(33,-45);
				ctx.beginPath();
				ctx.fillStyle = o.fillColor[1];
				ctx.moveTo(27,h-12);
				ctx.lineTo(120,h-12);
				ctx.lineTo(70,8);
				ctx.closePath();
				ctx.fill();

				ctx.beginPath();
				ctx.fillStyle = o.fillColor[1];
				ctx.moveTo(70,0);
				ctx.lineTo(110,0);
				ctx.lineTo(94,30);
				ctx.closePath();
				ctx.fill();
			}else{
				ctx.beginPath();
				ctx.fillStyle = o.fillColor[0];
				ctx.moveTo(0,h-16);
				ctx.lineTo(10,h-4);
				ctx.lineTo(w,h-4);
				ctx.lineTo(w-10,h-16);
				ctx.lineTo(w-23,h-16);
				ctx.lineTo(w-16,h-8);
				ctx.lineTo(38,h-8);
				ctx.lineTo(30,h-16);
				ctx.closePath();
				ctx.fill();

				ctx.beginPath();
				ctx.moveTo(w-66,4);
				ctx.lineTo(w-56,4);
				ctx.lineTo(w-47,16);
				ctx.lineTo(w-57,16);
				ctx.closePath();
				ctx.fill();

				ctx.translate(11,15);
				ctx.beginPath();
				ctx.moveTo(w-66,4);
				ctx.lineTo(w-56,4);
				ctx.lineTo(w-47,16);
				ctx.lineTo(w-57,16);
				ctx.closePath();
				ctx.fill();
				ctx.translate(11,15);
				ctx.beginPath();
				ctx.moveTo(w-66,4);
				ctx.lineTo(w-56,4);
				ctx.lineTo(w-47,16);
				ctx.lineTo(w-57,16);
				ctx.closePath();
				ctx.fill();
				ctx.translate(11,15);
				ctx.beginPath();
				ctx.moveTo(w-66,4);
				ctx.lineTo(w-56,4);
				ctx.lineTo(w-47,16);
				ctx.lineTo(w-57,16);
				ctx.closePath();
				ctx.fill();

				ctx.translate(-33,-45);
				ctx.beginPath();
				ctx.fillStyle = o.fillColor[1];
				ctx.moveTo(w-27,h-12);
				ctx.lineTo(w-120,h-12);
				ctx.lineTo(w-70,8);
				ctx.closePath();
				ctx.fill();

				ctx.beginPath();
				ctx.fillStyle = o.fillColor[1];
				ctx.moveTo(w-70,0);
				ctx.lineTo(w-110,0);
				ctx.lineTo(w-95,30);
				ctx.closePath();
				ctx.fill();
			}
			$(e).css("background-image","");
			$(e).css({"background-image":"url('"+ctx.canvas.toDataURL() +"')","background-repeat":"no-repeat"});
			return '"'+ctx.canvas.toDataURL() +'"';
		},
		cc = function(e,i,o){
			var w = parseInt($(e).innerWidth()),
				h = $(e).innerHeight(),
				id = 'layui-nav-list_'+ i,
				newDom = '<canvas id="'+ id +'" width="'+ w +'" height="'+ h +'" style="display:none"></canvas>';
			if(document.getElementById(id) == null){
				$('body').append(newDom);
			}else{
				$(document.getElementById(id)).remove();
				$('body').append(newDom);
			}
			var canvas = document.getElementById(id), ctx = canvas.getContext('2d');
			var grd=ctx.createLinearGradient(0,0,w,0);
			grd.addColorStop(0,o.fillColor[0]);
			grd.addColorStop(0.1,o.fillColor[1]);
			grd.addColorStop(0.9,o.fillColor[1]);
			grd.addColorStop(1,o.fillColor[0]);
			ctx.fillStyle=grd;
			ctx.moveTo(0,0);
			ctx.lineTo(w,0);
			ctx.lineTo(w,h);
			ctx.lineTo(0,h);
			ctx.closePath();
			ctx.fill();
			grd=ctx.createLinearGradient(0,0,0,h);
			grd.addColorStop(0,o.fillColor[0]);
			grd.addColorStop(0.25,o.fillColor[1]);
			grd.addColorStop(0.75,o.fillColor[1]);
			grd.addColorStop(1,o.fillColor[0]);
			ctx.fillStyle=grd;
			ctx.moveTo(0,0);
			ctx.lineTo(w,0);
			ctx.lineTo(w,h);
			ctx.lineTo(0,h);
			ctx.closePath();
			ctx.fill();
			ctx.beginPath();
			ctx.strokeStyle = o.lineColor[0];
			ctx.lineWidth=o.lineWidth;
			ctx.moveTo(0,0);
			ctx.lineTo(w,0);
			ctx.lineTo(w,h);
			ctx.lineTo(0,h);
			ctx.closePath();
			ctx.stroke();
			ctx.beginPath();
			ctx.strokeStyle = o.lineColor[1];
			ctx.moveTo(0,o.cornerLength);
			ctx.lineTo(0,0);
			ctx.lineTo(o.cornerLength,0);
			ctx.stroke();
			ctx.beginPath();
			ctx.strokeStyle = o.lineColor[1];
			ctx.moveTo(w-o.cornerLength,0);
			ctx.lineTo(w,0);
			ctx.lineTo(w,o.cornerLength);
			ctx.stroke();
			ctx.beginPath();
			ctx.strokeStyle = o.lineColor[1];
			ctx.moveTo(w,h-o.cornerLength);
			ctx.lineTo(w,h);
			ctx.lineTo(w-o.cornerLength,h);
			ctx.stroke();
			ctx.beginPath();
			ctx.strokeStyle = o.lineColor[1];
			ctx.moveTo(o.cornerLength,h);
			ctx.lineTo(0,h);
			ctx.lineTo(0,h-o.cornerLength);
			ctx.stroke();
			$(e).css("background-image","");
			$(e).css({"background-image":"url('"+ctx.canvas.toDataURL() +"')","background-repeat":"no-repeat"});
			return '"'+ctx.canvas.toDataURL() +'"';
		},
		dd = function(e,i,o){
			var w = parseInt($(e).innerWidth()),
				h = parseInt($(e).innerHeight()),
				id = 'layui-panel_'+ i,
				newDom = '<canvas id="'+ id +'" width="'+ w +'" height="'+ h +'" style="display:none"></canvas>';
			if(document.getElementById(id) == null){
				$('body').append(newDom);
			}else{
				$(document.getElementById(id)).remove();
				$('body').append(newDom);
			}
			var canvas = document.getElementById(id), ctx = canvas.getContext('2d');
			ctx.fillStyle=o.fillColor[2];
			ctx.moveTo(0,0);
			ctx.lineTo(w,0);
			ctx.lineTo(w,h);
			ctx.lineTo(0,h);
			ctx.closePath();
			ctx.fill();
			ctx.beginPath();
			var grd=ctx.createLinearGradient(0,0,w,0);
			grd.addColorStop(0,o.fillColor[0]);
			grd.addColorStop(0.1,o.fillColor[1]);
			grd.addColorStop(0.9,o.fillColor[1]);
			grd.addColorStop(1,o.fillColor[0]);
			ctx.fillStyle=grd;
			ctx.moveTo(0,0);
			ctx.lineTo(w,0);
			ctx.lineTo(w,h);
			ctx.lineTo(0,h);
			ctx.closePath();
			ctx.fill();
			grd=ctx.createLinearGradient(0,0,0,h);
			grd.addColorStop(0,o.fillColor[0]);
			grd.addColorStop(0.1,o.fillColor[1]);
			grd.addColorStop(0.9,o.fillColor[1]);
			grd.addColorStop(1,o.fillColor[0]);
			ctx.fillStyle=grd;
			ctx.moveTo(0,0);
			ctx.lineTo(w,0);
			ctx.lineTo(w,h);
			ctx.lineTo(0,h);
			ctx.closePath();
			ctx.fill();
			ctx.beginPath();
			ctx.strokeStyle = o.lineColor[0];
			ctx.lineWidth=o.lineWidth;
			ctx.moveTo(0,0);
			ctx.lineTo(w,0);
			ctx.lineTo(w,h);
			ctx.lineTo(0,h);
			ctx.closePath();
			ctx.stroke();
			ctx.beginPath();
			ctx.strokeStyle = o.lineColor[1];
			ctx.moveTo(0,o.cornerLength);
			ctx.lineTo(0,0);
			ctx.lineTo(o.cornerLength,0);
			ctx.stroke();
			ctx.beginPath();
			ctx.strokeStyle = o.lineColor[1];
			ctx.moveTo(w-o.cornerLength,0);
			ctx.lineTo(w,0);
			ctx.lineTo(w,o.cornerLength);
			ctx.stroke();
			ctx.beginPath();
			ctx.strokeStyle = o.lineColor[1];
			ctx.moveTo(w,h-o.cornerLength);
			ctx.lineTo(w,h);
			ctx.lineTo(w-o.cornerLength,h);
			ctx.stroke();
			ctx.beginPath();
			ctx.strokeStyle = o.lineColor[1];
			ctx.moveTo(o.cornerLength,h);
			ctx.lineTo(0,h);
			ctx.lineTo(0,h-o.cornerLength);
			ctx.stroke();
			ctx.beginPath();
			$(e).css("background-image","");
			$(e).css({"background-image":"url('"+ctx.canvas.toDataURL() +"')","background-repeat":"no-repeat"});
			return '"'+ctx.canvas.toDataURL() +'"';
		},
		ee = function (e,i,o) {
			var w = parseInt($(e).innerWidth()),
				h = parseInt($(e).innerHeight()),
				id = 'layui-panel_'+ i,
				newDom = '<canvas id="'+ id +'" width="'+ w +'" height="'+ h +'" style="display:none"></canvas>';
			if(document.getElementById(id) == null){
				$('body').append(newDom);
			}else{
				$(document.getElementById(id)).remove();
				$('body').append(newDom);
			}
			var canvas = document.getElementById(id), ctx = canvas.getContext('2d');
			ctx.fillStyle = o.fillColor[0];
			ctx.moveTo(10,h/2-o.cornerLength);
			ctx.lineTo(14,h/2-o.cornerLength);
			ctx.lineTo(20,h/2);
			ctx.lineTo(14,h/2+o.cornerLength);
			ctx.lineTo(10,h/2+o.cornerLength);
			ctx.lineTo(16,h/2);
			ctx.closePath();
			ctx.fill();
			ctx.beginPath();
			ctx.translate(6,0);
			ctx.fillStyle = o.fillColor[1];
			ctx.moveTo(10,h/2-o.cornerLength);
			ctx.lineTo(14,h/2-o.cornerLength);
			ctx.lineTo(20,h/2);
			ctx.lineTo(14,h/2+o.cornerLength);
			ctx.lineTo(10,h/2+o.cornerLength);
			ctx.lineTo(16,h/2);
			ctx.closePath();
			ctx.fill();
			
			ctx.beginPath();
			ctx.translate(-6,0);
			ctx.lineWidth = o.lineWidth;
			ctx.strokeStyle = o.lineColor[0];
			ctx.moveTo(5,h-o.lineWidth/2);
			ctx.lineTo(w-5,h-o.lineWidth/2);
			ctx.stroke();
			$(e).css("background-image","");
			$(e).css({"background-image":"url('"+ctx.canvas.toDataURL() +"')","background-repeat":"no-repeat"});
			return '"'+ctx.canvas.toDataURL() +'"';
		},
		ff = function (e,i,o) {
			var w = parseInt($(e).innerWidth()),
				h = parseInt($(e).innerHeight()),
				id = 'layui-cutline'+ i,
				newDom = '<canvas id="'+ id +'" width="'+ w +'" height="'+ h +'" style="display:none"></canvas>';
			if(document.getElementById(id) == null){
				$('body').append(newDom);
			}else{
				$(document.getElementById(id)).remove();
				$('body').append(newDom);
			}
			var canvas = document.getElementById(id), ctx = canvas.getContext('2d');
			if($(e).attr("layui-front") === 'false'){
				ctx.fillStyle = o.fillColor[0];
				ctx.moveTo(w,h/2-1);
				ctx.lineTo(w-o.cornerLength,h/2-1);
				ctx.lineTo(w-o.cornerLength,h/2+3);
				ctx.lineTo(w,h/2+3);
				ctx.closePath();
				ctx.fill();
				ctx.beginPath();
				ctx.strokeStyle = o.lineColor[0];
				ctx.lineWidth = o.lineWidth;
				ctx.strokeRect(2,h/2-3,8,8);
				ctx.setLineDash([4,4]);
				ctx.moveTo(10,h/2+1);
				ctx.lineTo(w-o.cornerLength,h/2+1);
				ctx.stroke();
			}else{
				ctx.fillStyle = o.fillColor[0];
				ctx.moveTo(0,h/2-1);
				ctx.lineTo(o.cornerLength,h/2-1);
				ctx.lineTo(o.cornerLength,h/2+3);
				ctx.lineTo(0,h/2+3);
				ctx.closePath();
				ctx.fill();
				ctx.beginPath();
				ctx.strokeStyle = o.lineColor[0];
				ctx.lineWidth = o.lineWidth;
				ctx.strokeRect(w-10,h/2-3,8,8);
				ctx.setLineDash([4,4]);
				ctx.moveTo(o.cornerLength,h/2+1);
				ctx.lineTo(w-10,h/2+1);
				ctx.stroke();
			}
			$(e).css("background-image","");
			$(e).css({"background-image":"url('"+ctx.canvas.toDataURL() +"')","background-repeat":"no-repeat"});
			return '"'+ctx.canvas.toDataURL() +'"';
		},
		gg = function (e,i,o) {
			var w = parseInt($(e).innerWidth()),
				h = parseInt($(e).innerHeight()),
				cw = parseInt($(e).children('.layui-cards-text').innerWidth()),
				id = 'layui-panel_'+ i,
				newDom = '<canvas id="'+ id +'" width="'+ w +'" height="'+ h +'" style="display:none"></canvas>';
			if(document.getElementById(id) == null){
				$('body').append(newDom);
			}else{
				$(document.getElementById(id)).remove();
				$('body').append(newDom);
			}
			var canvas = document.getElementById(id), ctx = canvas.getContext('2d');
			ctx.fillStyle = o.fillColor[0];
			ctx.moveTo(10,h/2-o.cornerLength);
			ctx.lineTo(14,h/2-o.cornerLength);
			ctx.lineTo(20,h/2);
			ctx.lineTo(14,h/2+o.cornerLength);
			ctx.lineTo(10,h/2+o.cornerLength);
			ctx.lineTo(16,h/2);
			ctx.closePath();
			ctx.fill();
			ctx.beginPath();
			ctx.translate(6,0);
			ctx.fillStyle = o.fillColor[1];
			ctx.moveTo(10,h/2-o.cornerLength);
			ctx.lineTo(14,h/2-o.cornerLength);
			ctx.lineTo(20,h/2);
			ctx.lineTo(14,h/2+o.cornerLength);
			ctx.lineTo(10,h/2+o.cornerLength);
			ctx.lineTo(16,h/2);
			ctx.closePath();
			ctx.fill();
			if(cw>0){
				ctx.beginPath();
				ctx.translate(-6,0);
				ctx.lineWidth = o.lineWidth;
				ctx.strokeStyle = o.lineColor[0];
				ctx.moveTo(cw,h/2);
				ctx.lineTo(w,h/2);
				ctx.stroke();
				
				ctx.fillStyle = o.fillColor[2];
				ctx.fillRect(w-(w-cw)/3,h/2-2,(w-80)/3,4);
			}
			$(e).css("background-image","");
			$(e).css({"background-image":"url('"+ctx.canvas.toDataURL() +"')","background-repeat":"no-repeat"});
			return '"'+ctx.canvas.toDataURL() +'"';
		},
		hh = function(e,i,o){
			var w = parseInt($(e).innerWidth()),
				h = parseInt($(e).innerHeight()),
				id = 'layui-panel_'+ i,
				newDom = '<canvas id="'+ id +'" width="'+ w +'" height="'+ h +'" style="display:none"></canvas>';
			if(document.getElementById(id) == null){
				$('body').append(newDom);
			}else{
				$(document.getElementById(id)).remove();
				$('body').append(newDom);
			}
			var canvas = document.getElementById(id), ctx = canvas.getContext('2d');
			ctx.fillStyle=o.fillColor[0];
			ctx.moveTo(0,0);
			ctx.lineTo(w,0);
			ctx.lineTo(w,h);
			ctx.lineTo(20,h);
			ctx.lineTo(0,h-30);
			ctx.closePath();
			ctx.fill();
			ctx.beginPath();
			ctx.strokeStyle = o.lineColor[0];
			ctx.lineWidth=o.lineWidth;
			ctx.moveTo(0,0);
			ctx.lineTo(w,0);
			ctx.lineTo(w,h);
			ctx.lineTo(20,h);
			ctx.lineTo(0,h-30);
			ctx.closePath();
			ctx.stroke();
			ctx.beginPath();
			$(e).css("background-image","");
			$(e).css({"background-image":"url('"+ctx.canvas.toDataURL() +"')","background-repeat":"no-repeat"});
			return '"'+ctx.canvas.toDataURL() +'"';
		},
		jj = function(e,i,o){
			var w = parseInt($(e).innerWidth()),
				h = $(e).innerHeight(),
				id = 'layui-nav-list2_'+ i,
				newDom = '<canvas id="'+ id +'" width="'+ w +'" height="'+ h +'" style="display:none"></canvas>';
			if(document.getElementById(id) == null){
				$('body').append(newDom);
			}else{
				$(document.getElementById(id)).remove();
				$('body').append(newDom);
			}
			var canvas = document.getElementById(id), ctx = canvas.getContext('2d');
			var grd=ctx.createLinearGradient(0,0,w,0);
			grd.addColorStop(0,o.bgcolor);
			grd.addColorStop(0.9,o.bgcolor);
			ctx.fillStyle=grd;
			ctx.moveTo(0,0);
			ctx.lineTo(w,0);
			ctx.lineTo(w,h);
			ctx.lineTo(0,h);
			ctx.closePath();
			ctx.fill();
			grd.addColorStop(0,o.fillColor[0]);
			grd.addColorStop(0.1,o.fillColor[1]);
			grd.addColorStop(0.9,o.fillColor[1]);
			grd.addColorStop(1,o.fillColor[0]);
			ctx.fillStyle=grd;
			ctx.moveTo(0,0);
			ctx.lineTo(w,0);
			ctx.lineTo(w,h);
			ctx.lineTo(0,h);
			ctx.closePath();
			ctx.fill();
			grd=ctx.createLinearGradient(0,0,0,h);
			grd.addColorStop(0,o.fillColor[0]);
			grd.addColorStop(0.3,o.fillColor[1]);
			grd.addColorStop(0.7,o.fillColor[1]);
			grd.addColorStop(1,o.fillColor[0]);
			ctx.fillStyle=grd;
			ctx.moveTo(0,0);
			ctx.lineTo(w,0);
			ctx.lineTo(w,h);
			ctx.lineTo(0,h);
			ctx.closePath();
			ctx.fill();
			ctx.beginPath();
			ctx.strokeStyle = o.lineColor[0];
			ctx.lineWidth=o.lineWidth;
			ctx.moveTo(0,0);
			ctx.lineTo(w,0);
			ctx.lineTo(w,h);
			ctx.lineTo(0,h);
			ctx.closePath();
			ctx.stroke();
			var bg1 = ctx.canvas.toDataURL();
			grd=ctx.createLinearGradient(0,0,w,0);
			grd.addColorStop(0,o.bgcolor);
			grd.addColorStop(0.85,o.bgcolor);
			ctx.fillStyle=grd;
			ctx.moveTo(0,0);
			ctx.lineTo(w,0);
			ctx.lineTo(w,h);
			ctx.lineTo(0,h);
			ctx.closePath();
			ctx.fill();
			grd.addColorStop(0,o.avtiveColor[0]);
			grd.addColorStop(0.15,o.avtiveColor[1]);
			grd.addColorStop(0.85,o.avtiveColor[1]);
			grd.addColorStop(1,o.avtiveColor[0]);
			ctx.fillStyle=grd;
			ctx.moveTo(0,0);
			ctx.lineTo(w,0);
			ctx.lineTo(w,h);
			ctx.lineTo(0,h);
			ctx.closePath();
			ctx.fill();
			grd=ctx.createLinearGradient(0,0,0,h);
			grd.addColorStop(0,o.avtiveColor[0]);
			grd.addColorStop(0.3,o.avtiveColor[1]);
			grd.addColorStop(0.7,o.avtiveColor[1]);
			grd.addColorStop(1,o.avtiveColor[0]);
			ctx.fillStyle=grd;
			ctx.moveTo(0,0);
			ctx.lineTo(w,0);
			ctx.lineTo(w,h);
			ctx.lineTo(0,h);
			ctx.closePath();
			ctx.fill();
			ctx.beginPath();
			ctx.strokeStyle = o.lineColor[1];
			ctx.lineWidth=o.lineWidth;
			ctx.moveTo(0,0);
			ctx.lineTo(w,0);
			ctx.lineTo(w,h);
			ctx.lineTo(0,h);
			ctx.closePath();
			ctx.stroke();
			var bg2 = ctx.canvas.toDataURL();
			$(e).css("background-image","");
			if($(e).hasClass("active")){
				$(e).css({"background-image":"url('"+ bg2 +"')","background-repeat":"no-repeat","color":o.color[1]});
			}else{
				$(e).css({"background-image":"url('"+ bg1 +"')","background-repeat":"no-repeat","color":o.color[0]});
			}
			$(e).hover(
				function(){
					if(!$(this).hasClass("active")){
						$(this).css({"background-image":"url('"+ bg2 +"')","background-repeat":"no-repeat","color":o.color[1]});
					}
					return '"'+ bg2 +'"';
				},
				function(){
					if($(this).hasClass("active")){
						$(this).css({"background-image":"url('"+ bg2 +"')","background-repeat":"no-repeat","color":o.color[1]});
					}else{
						$(this).css({"background-image":"url('"+ bg1 +"')","background-repeat":"no-repeat","color":o.color[0]});
					}
					return '"'+ bg1 +'"';
				}
			)
		},
		kk = function(e,i,o){
			var w = parseInt($(e).innerWidth()),
				h = parseInt($(e).innerHeight()),
				id = 'layui_canvas_title_'+ i,
				newDom = '<canvas id="'+ id +'" width="'+ w +'" height="'+ h +'" style="display:none"></canvas>';
			if(document.getElementById(id) == null){
				$('body').append(newDom);
			}else{
				$(document.getElementById(id)).remove();
				$('body').append(newDom);
			}
			var canvas = document.getElementById(id), ctx ;
			ctx= canvas.getContext('2d');
			ctx.lineWidth = o.lineWidth;
			ctx.lineJoin="round";
			var grd=ctx.createLinearGradient(0,0,w,0);
			grd.addColorStop(0,o.fillColor[0]);
			grd.addColorStop(0.4,o.fillColor[1]);
			grd.addColorStop(0.6,o.fillColor[1]);
			grd.addColorStop(1,o.fillColor[0]);
			ctx.fillStyle = grd;
			ctx.moveTo(30,0);
			ctx.lineTo(w-30,0);
			ctx.lineTo(w-69,h);
			ctx.lineTo(69,h);
			ctx.lineTo(30,0);
			ctx.closePath();
			ctx.fill();
			ctx.beginPath();
			ctx.fillStyle = grd;
			ctx.moveTo(0,0);
			ctx.lineTo(w,0);
			ctx.lineTo(w-37,h-13);
			ctx.lineTo(37,h-13);
			ctx.lineTo(0,0);
			ctx.closePath();
			ctx.fill();
			ctx.beginPath();
			$(e).css("background-image","");
			$(e).css({"background-image":"url('"+ctx.canvas.toDataURL() +"')","background-repeat":"no-repeat"});
			return '"'+ctx.canvas.toDataURL() +'"';
		},
		ll = function(e,i,o){
			var w = parseInt($(e).innerWidth()),
				h = parseInt($(e).innerHeight()),
				id = 'layui-panel_'+ i,
				newDom = '<canvas id="'+ id +'" width="'+ w +'" height="'+ h +'" style="display:none"></canvas>';
			if(document.getElementById(id) == null){
				$('body').append(newDom);
			}else{
				$(document.getElementById(id)).remove();
				$('body').append(newDom);
			}
			var canvas = document.getElementById(id), ctx = canvas.getContext('2d');
			ctx.fillStyle=o.fillColor[0];
			ctx.moveTo(0,0);
			ctx.lineTo(w,0);
			ctx.lineTo(w,h);
			ctx.lineTo(0,h);
			ctx.closePath();
			ctx.fill();
			ctx.beginPath();
			ctx.strokeStyle = o.lineColor[0];
			ctx.lineWidth=o.lineWidth;
			ctx.moveTo(0,0);
			ctx.lineTo(w,0);
			ctx.lineTo(w,h);
			ctx.lineTo(0,h);
			ctx.closePath();
			ctx.stroke();
			ctx.beginPath();
			var grd=ctx.createLinearGradient(0,0,w,0);
			grd.addColorStop(0,o.fillColor[0]);
			grd.addColorStop(0.1,o.fillColor[1]);
			grd.addColorStop(0.9,o.fillColor[1]);
			grd.addColorStop(1,o.fillColor[0]);
			ctx.fillStyle=grd;
			ctx.moveTo(0,0);
			ctx.lineTo(w,0);
			ctx.lineTo(w,h);
			ctx.lineTo(0,h);
			ctx.closePath();
			ctx.fill();
			grd=ctx.createLinearGradient(0,0,0,h);
			grd.addColorStop(0,o.fillColor[0]);
			grd.addColorStop(0.1,o.fillColor[1]);
			grd.addColorStop(0.9,o.fillColor[1]);
			grd.addColorStop(1,o.fillColor[0]);
			ctx.fillStyle=grd;
			ctx.moveTo(0,0);
			ctx.lineTo(w,0);
			ctx.lineTo(w,h);
			ctx.lineTo(0,h);
			ctx.closePath();
			ctx.fill();
			ctx.beginPath();
			$(e).css("background-image","");
			$(e).css({"background-image":"url('"+ctx.canvas.toDataURL() +"')","background-repeat":"no-repeat"});
			return '"'+ctx.canvas.toDataURL() +'"';
		},
		mm = function(e,i,o){
			var w = parseInt($(e).innerWidth()),
				h = parseInt($(e).innerHeight()),
				id = 'layui-panel3_'+ i,
				newDom = '<canvas id="'+ id +'" width="'+ w +'" height="'+ h +'" style="display:none"></canvas>';
			if(document.getElementById(id) == null){
				$('body').append(newDom);
			}else{
				$(document.getElementById(id)).remove();
				$('body').append(newDom);
			}
			var canvas = document.getElementById(id), ctx = canvas.getContext('2d');
			ctx.fillStyle=o.lineColor[0];
			ctx.fillRect(3,3,w-6,h-6);
			ctx.clearRect(4,4,w-8,h-8);
			ctx.beginPath();
			ctx.fillStyle=o.fillColor[0];
			ctx.fillRect(4,4,w-8,19);
			ctx.beginPath();
			ctx.strokeStyle = o.lineColor[1];
			ctx.lineWidth=o.lineWidth;
			ctx.moveTo(4,46);
			ctx.lineTo(w-48,46);
			ctx.lineTo(w-19,63);
			ctx.stroke();
			ctx.beginPath();
			ctx.fillStyle=o.lineColor[1];
			ctx.arc(w-20,62,4,0,180);
			ctx.fill();
			$(e).css("background-image","");
			$(e).css({"background-image":"url('"+ctx.canvas.toDataURL() +"')","background-repeat":"no-repeat"});
			return '"'+ctx.canvas.toDataURL() +'"';
		},
		nn = function(e,i,o){
			var w = parseInt($(e).innerWidth()),
				h = parseInt($(e).innerHeight()),
				id = 'layui-panel3_'+ i,
				newDom = '<svg id="'+ id +'" width="'+ w +'" height="'+ h +'" xmlns="http://www.w3.org/2000/svg" version="1.1"></svg>';
			if(document.getElementById(id) == null){
				$(e).append(newDom);
			}else{
				$(document.getElementById(id)).remove();
				$(e).append(newDom);
			}
			var x = [0,w];
			var svg = document.getElementById(id);
			var rect = document.createElementNS("http://www.w3.org/2000/svg","rect");
			rect.setAttribute("x",o.imgsize[0]/2);
			rect.setAttribute("y",o.imgsize[0]/2);
			rect.setAttribute("width",w-o.imgsize[0]);
			rect.setAttribute("height",h-o.imgsize[0]);
			rect.setAttribute("style","fill:rgba(0,0,0,0);stroke-width:1;stroke:"+o.lineColor[0]);
			svg.appendChild(rect);
			var path = document.createElementNS("http://www.w3.org/2000/svg","path");
			var d = 'M'+o.imgsize[0]/2+' '+(42+o.imgsize[0]/2)+' L'+(w-46)+' '+(42+o.imgsize[0]/2)+' L'+(w-19)+' '+(58+o.imgsize[0]/2)+'';
			path.setAttribute("d",d);
			path.setAttribute("style","fill:rgba(0,0,0,0);stroke-width:1;stroke:"+o.lineColor[1]);
			svg.appendChild(path);
			var circle = document.createElementNS("http://www.w3.org/2000/svg","circle");
			circle.setAttribute("cx",w-12-o.imgsize[0]/2);
			circle.setAttribute("cy",58+o.imgsize[0]/2);
			circle.setAttribute("r",3);
			circle.setAttribute("style","fill:"+o.fillColor[1]);
			svg.appendChild(circle);
			for(var i=0;i<o.img.length;i++){
				var id = 'run_'+i;
				var image = document.createElementNS("http://www.w3.org/2000/svg","image");
				image.href.baseVal = o.img[i];
				image.setAttribute("x",0);
				image.setAttribute("y",0);
				image.setAttribute("id",id);
				svg.appendChild(image);
				var animate = document.createElementNS("http://www.w3.org/2000/svg","animateMotion");
				animate.setAttribute("rotate",'auto');
				animate.setAttribute("dur",'10s');
				animate.setAttribute("begin",'0s');
				animate.setAttribute("repeatCount",'indefinite');
				animate.setAttribute("fill",'freeze');
				animate.setAttribute("xlink:href",'#'+id);
				var d = '';
				if(i%x.length ==x[i%x.length]){
					d = 'M'+x[i%x.length]+' '+h/2+' L0 0'+' L'+w+' 0 l'+w+' '+h+' l0 '+h+' L0 0';
				}else{
					d = 'M'+x[i%x.length]+' '+h/2+' L'+w+' '+h+' L0 '+h+' l0 0 l'+w+' 0 z';
				}
				animate.setAttribute("path",'M0,0 L'+(w-o.imgsize[0]/2)+',0');
				image.appendChild(animate);
			}
		},
		pp = function(e,i,o){
			var w = parseInt($(e).innerWidth()),
				h = $(e).innerHeight(),
				id = 'layui-nav-list1_'+ i,
				newDom = '<canvas id="'+ id +'" width="'+ w +'" height="'+ h +'" style="display:none"></canvas>';
			if(document.getElementById(id) == null){
				$('body').append(newDom);
			}else{
				$(document.getElementById(id)).remove();
				$('body').append(newDom);
			}
			var canvas = document.getElementById(id), ctx = canvas.getContext('2d');
			var grd=ctx.createLinearGradient(0,0,w,0);
			grd.addColorStop(0,o.fillColor[0]);
			grd.addColorStop(0.1,o.fillColor[1]);
			grd.addColorStop(0.9,o.fillColor[1]);
			grd.addColorStop(1,o.fillColor[0]);
			ctx.fillStyle=grd;
			ctx.moveTo(0,0);
			ctx.lineTo(w,0);
			ctx.lineTo(w,h);
			ctx.lineTo(0,h);
			ctx.closePath();
			ctx.fill();
			grd=ctx.createLinearGradient(0,0,0,h);
			grd.addColorStop(0,o.fillColor[0]);
			grd.addColorStop(0.3,o.fillColor[1]);
			grd.addColorStop(0.7,o.fillColor[1]);
			grd.addColorStop(1,o.fillColor[0]);
			ctx.fillStyle=grd;
			ctx.moveTo(0,0);
			ctx.lineTo(w,0);
			ctx.lineTo(w,h);
			ctx.lineTo(0,h);
			ctx.closePath();
			ctx.fill();
			ctx.beginPath();
			ctx.strokeStyle = o.lineColor[0];
			ctx.lineWidth=o.lineWidth;
			ctx.moveTo(0,0);
			ctx.lineTo(w,0);
			ctx.lineTo(w,h);
			ctx.lineTo(0,h);
			ctx.closePath();
			ctx.stroke();
			ctx.beginPath();
			ctx.strokeStyle = o.lineColor[0];
			ctx.lineWidth=o.lineWidth;
			ctx.moveTo(0,0);
			ctx.lineTo(w,0);
			ctx.lineTo(w,h);
			ctx.lineTo(0,h);
			ctx.closePath();
			ctx.stroke();
			var bg = ctx.canvas.toDataURL();
			$(e).css("background-image","");
			$(e).css({"background-image":"url('"+ bg +"')","background-repeat":"no-repeat"});
			return '"'+ bg +'"';
		},
		qq = function(e,i,o){
			var w = parseInt($(e).innerWidth()),
				h = parseInt($(e).innerHeight()),
				id = 'layui-panel_'+ i,
				newDom = '<canvas id="'+ id +'" width="'+ w +'" height="'+ h +'" style="display:none"></canvas>';
			if(document.getElementById(id) == null){
				$('body').append(newDom);
			}else{
				$(document.getElementById(id)).remove();
				$('body').append(newDom);
			}
			var canvas = document.getElementById(id), ctx = canvas.getContext('2d');
			ctx.fillStyle=o.fillColor[2];
			ctx.moveTo(0,0);
			ctx.lineTo(w,0);
			ctx.lineTo(w,h);
			ctx.lineTo(0,h);
			ctx.closePath();
			ctx.fill();
			ctx.beginPath();
			var grd=ctx.createLinearGradient(0,0,w,0);
			grd.addColorStop(0,o.fillColor[0]);
			grd.addColorStop(0.1,o.fillColor[1]);
			grd.addColorStop(0.9,o.fillColor[1]);
			grd.addColorStop(1,o.fillColor[0]);
			ctx.fillStyle=grd;
			ctx.moveTo(0,0);
			ctx.lineTo(w,0);
			ctx.lineTo(w,h);
			ctx.lineTo(0,h);
			ctx.closePath();
			ctx.fill();
			grd=ctx.createLinearGradient(0,0,0,h);
			grd.addColorStop(0,o.fillColor[0]);
			grd.addColorStop(0.1,o.fillColor[1]);
			grd.addColorStop(0.9,o.fillColor[1]);
			grd.addColorStop(1,o.fillColor[0]);
			ctx.fillStyle=grd;
			ctx.moveTo(0,0);
			ctx.lineTo(w,0);
			ctx.lineTo(w,h);
			ctx.lineTo(0,h);
			ctx.closePath();
			ctx.fill();
			ctx.beginPath();
			ctx.strokeStyle = o.lineColor[0];
			ctx.lineWidth=o.lineWidth;
			ctx.moveTo(0,0);
			ctx.lineTo(w,0);
			ctx.lineTo(w,h);
			ctx.lineTo(0,h);
			ctx.closePath();
			ctx.stroke();
			ctx.beginPath();
			ctx.strokeStyle = o.lineColor[1];
			ctx.moveTo(0,o.cornerLength);
			ctx.lineTo(0,0);
			ctx.lineTo(o.cornerLength,0);
			ctx.stroke();
			ctx.beginPath();
			ctx.strokeStyle = o.lineColor[1];
			ctx.moveTo(w-o.cornerLength,0);
			ctx.lineTo(w,0);
			ctx.lineTo(w,o.cornerLength);
			ctx.stroke();
			ctx.beginPath();
			ctx.strokeStyle = o.lineColor[1];
			ctx.moveTo(w,h-o.cornerLength);
			ctx.lineTo(w,h);
			ctx.lineTo(w-o.cornerLength,h);
			ctx.stroke();
			ctx.beginPath();
			ctx.strokeStyle = o.lineColor[1];
			ctx.moveTo(o.cornerLength,h);
			ctx.lineTo(0,h);
			ctx.lineTo(0,h-o.cornerLength);
			ctx.stroke();
			ctx.beginPath();
			$(e).css("background-image","");
			$(e).css({"background-image":"url('"+ctx.canvas.toDataURL() +"')","background-repeat":"no-repeat"});
			return '"'+ctx.canvas.toDataURL() +'"';
		},
		auto = function(o){
			$("body").find(a).each(function(i,e){
				aa(e,i,o.a);
			});
			$("body").find(b).each(function(i,e){
				bb(e,i,o.b);
			});
			$("body").find(c).each(function(i,e){
				cc(e,i,o.c);
			});
			$("body").find(d).each(function(i,e){
				dd(e,i,o.d);
			});
			$("body").find(e).each(function(i,e){
				ee(e,i,o.e);
			});
			$("body").find(f).each(function(i,e){
				ff(e,i,o.f);
			});
			$("body").find(g).each(function(i,e){
				gg(e,i,o.g);
			});
			$("body").find(h).each(function(i,e){
				hh(e,i,o.h);
			});
			$("body").find(j).each(function(i,e){
				jj(e,i,o.j);
			});
			$("body").find(k).each(function(i,e){
				kk(e,i,o.k);
			});
			$("body").find(l).each(function(i,e){
				ll(e,i,o.l);
			});
			$("body").find(m).each(function(i,e){
				mm(e,i,o.m);
			});
			$("body").find(n).each(function(i,e){
				nn(e,i,o.n);
			});
			$("body").find(p).each(function(i,e){
				pp(e,i,o.p);
			});
			$("body").find(q).each(function(i,e){
				qq(e,i,o.q);
			});
		},
	canvas = new z();
	canvas.init();
	exports('canvas',canvas);
});